package com.coresmore.xfosd.utils;

/**
 * This class includes a small subset of standard GATT attributes for demonstration purposes.
 */
public class BleSppGattAttributes {
//    private static HashMap<String, String> attributes = new HashMap();

    public static String CLIENT_CHARACTERISTIC_CONFIG = "00002902-0000-1000-8000-00805f9b34fb";

    //B-0002/B-0004/TLS-01/STB-01
//    Service UUID：fee0
//    Notify：fee1
//    Write:fee2
    public static String BLE_SPP_Service = "0000fee0-0000-1000-8000-00805f9b34fb";
    public static String BLE_SPP_Service0 = "00001800-0000-1000-8000-00805f9b34fb";
    public static String BLE_SPP_Service1 = "00001801-0000-1000-8000-00805f9b34fb";
    public static String BLE_SPP_Service2 = "0000180a-0000-1000-8000-00805f9b34fb";
    public static String BLE_SPP_Service3 = "00010203-0000-1000-8000-00805f9b34fb";
    public static String BLE_SPP_Notify_Characteristic = "0000fee1-0000-1000-8000-00805f9b34fb";
    public static String  BLE_SPP_Write_Characteristic = "0000fee2-0000-1000-8000-00805f9b34fb";
    public static String  BLE_SPP_AT_Characteristic = "0000fee3-0000-1000-8000-00805f9b34fb";
//    static {
//        //B-0002/B-0004/TRL-01 SPP Service
//        attributes.put(BLE_SPP_Service, "BLE SPP Service");
//        attributes.put(BLE_SPP_Notify_Characteristic, "BLE SPP Notify Characteristic");
//        attributes.put(BLE_SPP_Write_Characteristic, "BLE SPP Write Characteristic");
//        attributes.put(BLE_SPP_AT_Characteristic, "BLE SPP AT Characteristic");
//    }

//    public static String lookup(String uuid, String defaultName) {
////        String name = attributes.get(uuid);
//        return name == null ? defaultName : name;
//    }
}
